package com.generation;

import com.generation.Bean.TableInfo;
import com.generation.builder.*;

import java.util.List;

/**
 * @author 郭嘉
 * @date 2023/4/2 - 21:16
 */
public class RunApplication {

    public static void main(String[] args) {
        List<TableInfo> table = BuilderTable.getTable();

        BuildBase.excute();

        for (TableInfo tableInfo : table) {
            BuildrPoJo.excute(tableInfo);
            BuildQuery.excute(tableInfo);
            BuildMapper.excute(tableInfo);
            BuildMapperXml.excute(tableInfo);
            BuildService.excute(tableInfo);
            BuildServiceImpl.excute(tableInfo);
            BuildController.excute(tableInfo);
        }

        BuildApplication.excute();
    }
}
